Public Class ctlHeader
    Public Event MouseDowns(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs)
    Public Event MouseMoves(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs)

    Private Sub lblHeader_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles lblHeader.MouseDown
        RaiseEvent MouseDowns(sender, e)
    End Sub

    Private Sub lblHeader_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles lblHeader.MouseMove
        RaiseEvent MouseMoves(sender, e)
    End Sub



    Private Sub lblHeader_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles lblHeader.Paint
        e.Graphics.DrawImage(My.Resources.LUCorner, 0, 0)
        e.Graphics.DrawImage(My.Resources.RUCorner, CInt(sender.width - My.Resources.RUCorner.Width), 0, My.Resources.LLCorner.Width, My.Resources.LLCorner.Height)
        e.Graphics.DrawImage(My.Resources.LLCorner, 0, sender.height - My.Resources.LLCorner.Height)
        e.Graphics.DrawImage(My.Resources.RLCorner, sender.width - My.Resources.RLCorner.Width, sender.height - My.Resources.RLCorner.Height)

    End Sub
End Class
